package com.xoa.service.event;

import com.xoa.model.event.TimeLine;
import com.xoa.model.event.TimelineEvent;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by 张丽军 on 2017/8/30.
 */
@Service
public interface TimeLineEventService {
    ToJson<TimelineEvent> getEventList(HttpServletRequest request, TimelineEvent timelineEvent,TimeLine timeLine);

    ToJson<TimelineEvent> getEventDetailByUuid(HttpServletRequest request, String uuid);

    ToJson<TimelineEvent> updateInfor(HttpServletRequest request, TimelineEvent timelineEvent);

    ToJson<TimelineEvent> deleteEventByUuid(HttpServletRequest request, String uuid);

    ToJson<TimelineEvent> addEventInfor(HttpServletRequest request, TimelineEvent timelineEvent,TimeLine timeLine);
}
